package com.founder.gateway.oauth.service;

import com.founder.gateway.oauth.orm.orcl.bean.entity.OrgUserEntity;
import com.founder.gateway.orm.fzapi.bean.entity.AppInfoEntity;
import com.founder.gateway.system.bean.SetuSession;

public interface OAuthService {
    OrgUserEntity getUserByIdentity(String identity);

    AppInfoEntity getClientByAppKey(String appKey);
    
    boolean checkAuthentication(String appId, String apiSchemeId);
    
    SetuSession getSessionBean(String identity, String orgCode);
}
